package com.atguigu.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author DongYu Zhou
 * @date 2022/5/30 17:53
 */
//@Component
@Data
@AllArgsConstructor
@NoArgsConstructor //lombok的注解
//@ConfigurationProperties(prefix = "spring.jdbc.datasource") //配一个前缀 后面的会自动映射
public class DataSourceProperties02 {


    private String username;
    private String password;
    private String url;
    private String driverClassName;




}
